package io.gitee.hechenl.fastiotreport.constant;

import java.util.regex.Pattern;

public class RegexConstants {

    /**(1+2)-(3+4)*/
    public static final Pattern pattern1 =
            Pattern.compile("^\\(\\d+(?:\\+\\d+)+\\)-\\(\\d+(?:\\+\\d+)+\\)$");

    /**1+2+3*/
    public static final Pattern pattern2 = Pattern.compile("^\\d+(?:\\+\\d+)+$");

    /**1-2*/
    public static final Pattern pattern3 = Pattern.compile("^\\d+-\\d+$");

    /**1*/
    public static final Pattern pattern4 = Pattern.compile("^\\d+$");
}
